package com.training.java.core.immutable;

public class CarDemo {

	public static void main(String[] args) {
		Car Ford=new Car("Blue", "XE", "ABC123", 90);
		
		System.out.println("Color Is = "+ Ford.getColor());
		System.out.println("Model Is = "+ Ford.getModel());
		System.out.println("VinNumber Is = "+ Ford.getVinnumber());
		System.out.println("Speed Is = "+ Ford.getCurrentspeed());
		
		Ford.acclerate(10);
	}

}
